package presenters.component

import java.text.SimpleDateFormat

class DateComponent {

    def static namespace = "gp"

    def formatDate = {format, date ->
        new SimpleDateFormat(format).format(date)        
    }
}